/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javacademic.login;

import javacademic.GenericAction;

/**
 *
 * @author Leonardo Oliveira Moreira
 */
public class LoginAction extends GenericAction {

    private String login;
    private String password;

    public String login() {
        System.out.println("login: " + login);
        System.out.println("password: " + password);
        return "main";
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
}
